package ArrayDemo2;

/**
 * Created by sunwei on 2017/10/13
 * Time:10:04
 */
public class HighArrayApp {
    public static void main(String[] args) {
        int size = 100;
        HighArray highArray = new HighArray(size);
        highArray.insert(11);
        highArray.insert(22);
        highArray.insert(77);
        highArray.insert(99);
        highArray.insert(44);
        highArray.insert(88);
        highArray.insert(33);
        highArray.insert(55);
        highArray.insert(66);
        highArray.insert(00);
        System.out.println("插入数据后数组里面的元素为：");
        highArray.display();

        System.out.println("查找元素值为99的元素");
        System.out.println(highArray.find(99));

        System.out.println("删除88这个元素");
        System.out.println(highArray.delete(88));

        System.out.println("删除88这个元素后数组的元素里面为：");
        highArray.display();
    }
}
